import request from "../utils/request";

export default ({
  routeConfig() {
    return request({
      url: `route/getConfig`,
      method: 'get'
    })
  },
  getPathName(path) {
    return request({
      url: 'route/getPathName' + '?path=' + path,
      method: 'get',
      path
    })
  },
  getRouteList(routerVo) {
    return request({
      url: `/route/getRoute`,
      method: 'post',
      data: routerVo
    })
  },
  getRputerDetail(){
    return request({
      url: `/route/detail`,
      method:'get'
    })
  }
})
